<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/9/26
 * Time: 11:14
 */

namespace app\common;


class Temp
{
    private $name;
    public function __construct($name = 'vip')
    {
        $this->name = $name;
    }

    public function setName($name){
        $this->name = $name;
    }

    public function getName(){
        return "方法：".__METHOD__.",属性是：".$this->name;
    }
}